import { View } from '@tarojs/components';
import s from './index.module.scss'
import Card from 'components/CodeCard'
import code from './code.md'

export default function Index() {
  return(
    <Card
    title='重复线性渐变'
    desc='设置百分比，元素重复线性渐变，默认情况从上到下'
    renderCode={() => (
      <wemark md={code} link highlight type='wemark' />
    )}
    >
      <View className={s.container}>
        <View className={s.text}>颜色重复线性渐变</View>
      </View>
    </Card>
    
  )
}